package com.dhcc.core.modules.system.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.DataEntity;

/**
 * 字典表
 *
 * @ClassName: Dict
 * @Description: TODO
 * @author: cyf
 * @date: 2018年1月2日 上午10:35:44
 */
@TableName("sys_dict")
public class Dict extends DataEntity<Dict> {

    private static final long serialVersionUID = 1L;

    /**
     * 分类
     */
    private Long categoryId;
    /**
     * 父级字典
     */
    private Long parentId;
    /**
     * code值
     */
    private String code;
    /**
     * key值
     */
    private String key;
    /**
     * 名称
     */
    private String name;
    /**
     * 备注
     */
    private String description;
    /**
     * 排序
     */
    private Integer weight;
    /**
     * 机构
     */
    private Long deptId;

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
}
